package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "历史记录", description = "用于在搜索处的历史记录")
public class ArticleRecord {
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    @ApiModelProperty(value = "uid,与用户id相对应,表示这个历史记录用于哪个用户", example = "26",required = true)
    private Integer uid;
    @ApiModelProperty(value = "关键字,显示的历史记录的内容", example = "宋代文化消费研究",required = true)
    private String keyword;
    @ApiModelProperty(value = "搜索的用户名", example = "刘思琪")
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
